package com.sba.core.repository;

import java.util.List;

import com.sba.core.domain.Menu;

/**
 * 
 * @author feiliming
 *
 */
public interface MenuRepository extends BaseRepository<Menu> {

	List<Menu> findAllByOrderBySortAsc();
	List<Menu> findByIsShowAndParentIdOrderBySortAsc(int isShow, Long parentId);
	
}